﻿@model IEnumerable<Ecommerce.Areas.Manager.Models.Product>
@{
    ViewBag.Title = "Order Detail";
}

<div id="detailProd" style="margin-right: 30px;">
    <h3>Order Detail</h3>
    <table>
        <thead>
            <tr>
                <td>Product No</td>
                <td>Product Name</td>
                <td>Category</td>
                <td>Price</td>
            </tr>
        </thead>
        <tbody>
            @foreach (var item in Model)
            {
                <tr>
                    <td>@item.ProductID</td>
                    <td>@Html.ActionLink(item.ProdName, "Detail", "Template", new { prodID = item.ProductID }, null)</td>
                    <td>@item.Category.CategoryName</td>
                    <td>@item.Price $</td>
                </tr>
            }
        </tbody>
    </table>
</div>
